package com.zb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName TbAdminModel
 * @Description 模型对象
 * @Author xm
 * @Date 2024/08/05 08:51
 **/
@Data
@TableName("tb_admin")
@ApiModel(value = "TbAdminModel", description = "")
public class TbAdminModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "登录名")
    private String loginName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "类型 1超级管理员 0普通用户")
    private Integer type;

    @ApiModelProperty(value = "看板")
    private String board;


}
